TrackingRequest
interface TrackingRequest
Request for target tracking.
Functions
Link copied to clipboard
open fun ofProposal(@IntRange(from = 0) timestamp: Long, proposalId: Int): OnboardTracker.TrackingRequest
Creates a request to add a target to track from a proposal id.
Link copied to clipboard
open fun ofRect( @IntRange(from = 0) timestamp: Long, @FloatRange(from = 0, to = 1) horizontalPosition: Double, @FloatRange(from = 0, to = 1) verticalPosition: Double, @FloatRange(from = 0, to = 1) width: Double, @FloatRange(from = 0, to = 1) height: Double): OnboardTracker.TrackingRequest
Creates a request to add a target to track from a rectangle in the video.
Link copied to clipboard
Sets a cookie that will be attached to the target.